package com.bingxue.edu.management.education.model.req;

import com.bingxue.edu.common.enums.SaleStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 上架状态更改请求
 */
@Data
@Schema(description = "上架状态求该请求")
public class ClassSaleUpdateReq {
    @Schema(description = "班级id")
    @NotNull(message = "班级id不能为空")
    private String classId;

    @Schema(description = "上架状态")
    @NotNull(message = "上架状态不能为空")
    private SaleStatusEnum status;
}
